/**
 * User: ct/512799311@qq.com
 * Date: 2017/10/18 0018
 * Time: ���� 10:05
 *
 */

var webpack = require('webpack');
var path = require('path');
module.exports = {

    entry: {
        admin: './admin/index.js'
    },
    output:{
        path:path.join(__dirname,"dist"),
        publicPath:'/dist',
        filename:'[name].bundle.js'
    },
    plugins:[
        // new webpack.optimize.UglifyJsPlugin()
    ],
    module:{
        loaders:[
            {
                test: /\.css/,
                loader: 'style-loader!css-loader'
            }
        ]
    }

};